#include "../../app_main/app_def.h"


//Service Pack version P1.7.6.10 - FW patches
const unsigned char fw_patch[60] = { 0x00, 0x01, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x04, 0x15, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xB8, 0xF1, 0x90, 0x0F, 0x24, 0xDF, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x28, 0x78, 0x40, 0x28, 0x09, 0xDB, 0x20, 0xF0, 0x03, 0x00, 0x81, 0x28, 0x05, 0xDA, 0x38, 0x46, 0xC8, 0xF7, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x31, 0x2E, 0x31, 0x38 };

//Service Pack version P1.7.6.10 -  Driver patches

const unsigned char wlan_drv_patch[2408] = { 0x00, 0x01, 0x00, 0x00, 0x60, 0x09, 0x00, 0x00, 0xC8, 0x00, 0x18, 0x00, 0xE4, 0x62, 0x08, 0x00, 0x96, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x20, 0x02, 0x49, 0x08, 0x60, 0x02, 0x48, 0x19, 0x30, 0xF7, 0x46, 0x40, 0x3B, 0x08, 0x00, 0x49, 0xD0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78, 0xB5, 0x04, 0x1C, 0xA5, 0x69, 0x66, 0x6A, 0x20, 0x69, 0x00, 0x28, 0x2A, 0xD4, 0x08, 0x28, 0x28, 0xDA, 0xE1, 0x69, 0x09, 0x68, 0x10, 0x29, 0x24, 0xD1, 0xAC, 0x21, 0x41, 0x43, 0xE8, 0x4A, 0x51, 0x5C, 0x49, 0x08, 0x1C, 0xD3, 0x00, 0x06, 0x00, 0x16, 0xA2, 0x68, 0x69, 0x46, 0x01, 0x23, 0x9E, 0x46, 0xE4, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x01, 0x1C, 0x39, 0x31, 0x14, 0xD0, 0x00, 0x99, 0x0C, 0x39, 0x31, 0x60, 0x80, 0x31, 0x09, 0x68, 0x69, 0x60 ,
0x02, 0x21, 0x29, 0x80, 0x31, 0x68, 0x74, 0x23, 0x5A, 0x5C, 0x12, 0x07, 0x92, 0x0E, 0x89, 0x18, 0x59, 0x5A, 0x69, 0x80, 0xFF, 0xFF, 0x7A, 0x63, 0x08, 0x00, 0x96, 0x00, 0x00, 0x00, 0x03, 0xE0, 0x38, 0x20, 0x00, 0xE0, 0x00, 0x20, 0xC0, 0x43, 0x20, 0x60, 0xD7, 0x48, 0x7C, 0x30, 0x20, 0x62, 0x78, 0xBD, 0x70, 0xB5, 0x05, 0x1C, 0x68, 0x69, 0x06, 0x78, 0xA8, 0x69, 0x90, 0x28, 0x1F, 0xD1, 0x04, 0x2E, 0x1D, 0xD0, 0x05, 0x2E, 0x1B, 0xD0, 0x0A, 0x2E, 0x19, 0xD0, 0x06, 0x2E, 0x17, 0xD0, 0x28, 0x69, 0x01, 0x24, 0xA6, 0x46, 0xCD, 0x49, 0xFE, 0x44, 0x08, 0x47, 0xCC, 0x48, 0xCD, 0x49, 0x00, 0x22, 0xA6, 0x46, 0xCC, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x32, 0x1C, 0x03, 0x20, 0xCB, 0x49, 0xA6, 0x46, 0xCB, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0xCA, 0x48, 0xFF, 0x30, 0x5F, 0x30, 0x28, 0x62, 0x70, 0xBD, 0xF0, 0xB5, 0x8B, 0xB0, 0x05, 0x90, 0x45, 0x69, 0x01, 0x69, 0xC1, 0x48, 0xC6, 0x4F, 0x81, 0x42, 0x2A, 0xD0, 0x04, 0x30 ,
0x81, 0x42, 0x00, 0xD0, 0xE9, 0xE0, 0x2A, 0x68, 0xD0, 0x00, 0x3E, 0x18, 0xE8, 0x68, 0x28, 0x18, 0x00, 0x7B, 0x00, 0x90, 0xAB, 0x68, 0x03, 0x20, 0xBB, 0x49, 0x0B, 0x31, 0x01, 0x24, 0xFF, 0xFF, 0x10, 0x64, 0x08, 0x00, 0x96, 0x00, 0x00, 0x00, 0xA6, 0x46, 0xBD, 0x4F, 0xFE, 0x44, 0x38, 0x47, 0xA8, 0x68, 0x02, 0x28, 0x02, 0xD0, 0xE7, 0x20, 0x80, 0x00, 0xD4, 0xE0, 0xE8, 0x68, 0x28, 0x18, 0x00, 0x7B, 0x70, 0x60, 0x80, 0x20, 0x30, 0x60, 0x72, 0x68, 0x03, 0x20, 0xB0, 0x49, 0x0C, 0x31, 0xA6, 0x46, 0xB0, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x3B, 0x20, 0x00, 0x01, 0xC3, 0xE0, 0x28, 0x68, 0x06, 0x90, 0xC0, 0x00, 0x3C, 0x58, 0x10, 0x20, 0x04, 0x90, 0x01, 0x25, 0xAE, 0x46, 0xAD, 0x48, 0xFE, 0x44, 0x00, 0x47, 0x07, 0x90, 0x00, 0x28, 0x00, 0xD1, 0xB3, 0xE0, 0x0C, 0x21, 0x07, 0x98, 0x0E, 0x18, 0x06, 0x98, 0xC0, 0x00, 0x3F, 0x18, 0x7A, 0x68, 0x03, 0x20, 0xA0, 0x49, 0x07, 0x31, 0xAE, 0x46, 0xA0, 0x4B, 0xFE, 0x44 ,
0x18, 0x47, 0x96, 0x48, 0x49, 0x38, 0xAC, 0x21, 0x06, 0x9A, 0x51, 0x43, 0x41, 0x18, 0x48, 0x22, 0x53, 0x5C, 0x5B, 0x06, 0x5B, 0x0E, 0x53, 0x54, 0x08, 0x90, 0x78, 0x68, 0x00, 0x28, 0x5C, 0xD1, 0x00, 0x2C, 0x01, 0xDD, 0x08, 0x2C, 0x2D, 0xDB, 0xFF, 0xFF, 0xA6, 0x64, 0x08, 0x00, 0x96, 0x00, 0x00, 0x00, 0x00, 0x22, 0x68, 0x46, 0x02, 0x70, 0x01, 0x92, 0x02, 0x81, 0x82, 0x72, 0xC5, 0x72, 0x05, 0x73, 0x45, 0x73, 0x09, 0x88, 0x95, 0x48, 0x06, 0x23, 0xAE, 0x46, 0x94, 0x4C, 0xFE, 0x44, 0x20, 0x47, 0x04, 0x1C, 0x02, 0x1C, 0x03, 0x20, 0x8A, 0x49, 0x09, 0x31, 0xAE, 0x46, 0x8A, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x00, 0x2C, 0x05, 0xDC, 0x00, 0x20, 0xC1, 0x43, 0x09, 0x91, 0xC0, 0x43, 0x0A, 0x90, 0x4A, 0xE0, 0x3C, 0x60, 0xAC, 0x20, 0x60, 0x43, 0x08, 0x99, 0x08, 0x18, 0x5C, 0x21, 0x0D, 0x54, 0x48, 0x21, 0x0A, 0x5C, 0x52, 0x06, 0x52, 0x0E, 0x0A, 0x54, 0x0B, 0xE0, 0x22, 0x1C, 0x03, 0x20, 0x7C, 0x49, 0x0A, 0x31 ,
0xAE, 0x46, 0x7B, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0xAC, 0x20, 0x60, 0x43, 0x08, 0x99, 0x08, 0x18, 0x5C, 0x21, 0x09, 0x5C, 0x49, 0x1E, 0x02, 0x29, 0x17, 0xD9, 0x03, 0x39, 0x08, 0xD0, 0x00, 0x20, 0x38, 0x56, 0xAE, 0x46, 0x7A, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x80, 0x20, 0x38, 0x60, 0xD0, 0xE7, 0x0A, 0x94, 0xFF, 0xFF, 0x3C, 0x65, 0x08, 0x00, 0x96, 0x00, 0x00, 0x00, 0x80, 0x21, 0x39, 0x60, 0x48, 0x22, 0x13, 0x5C, 0x19, 0x43, 0x11, 0x54, 0xAE, 0x46, 0x74, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x09, 0x94, 0x14, 0xE0, 0x01, 0x20, 0xC2, 0xE7, 0x06, 0x98, 0x31, 0x1C, 0x04, 0xAA, 0xAE, 0x46, 0x6F, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x0A, 0x90, 0x04, 0x1C, 0x02, 0x1C, 0x13, 0x1C, 0x09, 0x93, 0x03, 0x20, 0x5B, 0x21, 0x09, 0x01, 0xAE, 0x46, 0x6A, 0x4F, 0xFE, 0x44, 0x38, 0x47, 0x06, 0x98, 0x30, 0x60, 0x09, 0x98, 0x70, 0x60, 0x0A, 0x98, 0x00, 0x28, 0x15, 0xD0, 0xAC, 0x21, 0x61, 0x43, 0x08, 0x98, 0x41, 0x18, 0x48, 0x88 ,
0x02, 0x04, 0x02, 0x20, 0x10, 0x43, 0xB0, 0x60, 0x48, 0x68, 0x02, 0x0E, 0x01, 0x02, 0x09, 0x0E, 0x09, 0x02, 0x11, 0x43, 0x02, 0x04, 0x12, 0x0E, 0x12, 0x04, 0x0A, 0x43, 0x00, 0x06, 0x10, 0x43, 0xF0, 0x60, 0x07, 0x98, 0x4D, 0x49, 0x00, 0x22, 0x10, 0x23, 0xAE, 0x46, 0x59, 0x4C, 0xFE, 0x44, 0x20, 0x47, 0x58, 0x48, 0x00, 0xE0, 0x16, 0x20, 0x58, 0x49, 0x09, 0x18, 0xFF, 0xFF, 0xD2, 0x65, 0x08, 0x00, 0x96, 0x00, 0x00, 0x00, 0x05, 0x98, 0x01, 0x62, 0x0B, 0xB0, 0xF0, 0xBD, 0xFF, 0xB5, 0x06, 0x1C, 0x70, 0x69, 0x0C, 0x38, 0x03, 0x90, 0x53, 0x4D, 0x30, 0x69, 0xA8, 0x42, 0x22, 0xD1, 0x52, 0x48, 0x02, 0x78, 0x6C, 0x46, 0x22, 0x72, 0x43, 0x78, 0x63, 0x72, 0x81, 0x78, 0xA1, 0x72, 0xC0, 0x78, 0xE0, 0x72, 0x00, 0x91, 0x01, 0x90, 0x03, 0x20, 0x3C, 0x49, 0x01, 0x31, 0x01, 0x27, 0xBE, 0x46, 0x4B, 0x4F, 0xFE, 0x44, 0x38, 0x47, 0x04, 0x20, 0x20, 0x70, 0x03, 0x98, 0x29, 0x1C, 0x00, 0x22, 0x02, 0xAB, 0x01, 0x24 ,
0xA6, 0x46, 0x46, 0x4C, 0xFE, 0x44, 0x20, 0x47, 0x46, 0x48, 0xFF, 0x30, 0x95, 0x30, 0x30, 0x62, 0x00, 0x90, 0xFF, 0xBD, 0xF0, 0xB5, 0x85, 0xB0, 0x06, 0x1C, 0xB5, 0x69, 0x0C, 0x20, 0x28, 0x1A, 0x04, 0x90, 0x70, 0x69, 0x03, 0x28, 0x46, 0xD1, 0x68, 0x68, 0x00, 0x28, 0x31, 0xD0, 0xA8, 0x69, 0x00, 0x90, 0xE8, 0x69, 0x01, 0x90, 0x28, 0x6A, 0x02, 0x90, 0x28, 0x68, 0x28, 0x18, 0x03, 0x90, 0xA8, 0x68, 0xE9, 0x68, 0x2A, 0x69, 0xFF, 0xFF, 0x68, 0x66, 0x08, 0x00, 0x96, 0x00, 0x00, 0x00, 0x6B, 0x69, 0x01, 0x24, 0xA6, 0x46, 0x36, 0x4F, 0xFE, 0x44, 0x38, 0x47, 0xA6, 0x46, 0x35, 0x48, 0xFE, 0x44, 0x00, 0x47, 0x68, 0x68, 0x7D, 0x21, 0xC9, 0x00, 0x88, 0x42, 0x0D, 0xD8, 0x01, 0x28, 0x05, 0xD0, 0x08, 0x1C, 0xA6, 0x46, 0x30, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x09, 0xE0, 0x2F, 0x48, 0xA6, 0x46, 0x2D, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x03, 0xE0, 0xA6, 0x46, 0x2A, 0x49, 0xFE, 0x44, 0x08, 0x47, 0xA6, 0x46, 0x2A, 0x48 ,
0xFE, 0x44, 0x00, 0x47, 0x04, 0xE0, 0x01, 0x20, 0x86, 0x46, 0x28, 0x48, 0xFE, 0x44, 0x00, 0x47, 0x03, 0x20, 0x00, 0x21, 0x04, 0x9A, 0x01, 0x23, 0x9E, 0x46, 0x0A, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x24, 0x49, 0xF5, 0x20, 0x80, 0x00, 0x40, 0x18, 0x30, 0x62, 0x05, 0xB0, 0xF0, 0xBD, 0x5D, 0x0D, 0x1B, 0x00, 0x81, 0xE7, 0x02, 0x00, 0x27, 0x1A, 0x02, 0x00, 0x2F, 0x7A, 0x02, 0x00, 0x02, 0x02, 0x00, 0x00, 0x05, 0x10, 0x00, 0x00, 0xCF, 0xF6, 0x00, 0x00, 0xAA, 0x05, 0x00, 0x00, 0xE7, 0x7E, 0xFF, 0xFF, 0xFE, 0x66, 0x08, 0x00, 0x96, 0x00, 0x00, 0x00, 0x03, 0x00, 0xD5, 0xF4, 0x00, 0x00, 0xFC, 0x62, 0x08, 0x00, 0x01, 0x7F, 0x03, 0x00, 0x71, 0xC0, 0x02, 0x00, 0x50, 0x19, 0x1B, 0x00, 0x29, 0x16, 0x01, 0x00, 0xC1, 0x18, 0x01, 0x00, 0xF1, 0x1B, 0x01, 0x00, 0xF3, 0x1C, 0x02, 0x00, 0xF3, 0x7E, 0x03, 0x00, 0x7B, 0xC0, 0x02, 0x00, 0x2A, 0x03, 0x00, 0x00, 0x91, 0xF0, 0x00, 0x00, 0x07, 0x02, 0x00, 0x00, 0xE4, 0x62 ,
0x08, 0x00, 0x13, 0x7F, 0x03, 0x00, 0xA3, 0xC0, 0x02, 0x00, 0xA9, 0xE9, 0x00, 0x00, 0x09, 0x8F, 0x00, 0x00, 0xF7, 0xC6, 0x00, 0x00, 0xE5, 0x90, 0x00, 0x00, 0xC0, 0x27, 0x09, 0x00, 0xF1, 0xC7, 0x00, 0x00, 0x2D, 0xC8, 0x00, 0x00, 0xB9, 0xEC, 0x00, 0x00, 0xF0, 0xB5, 0x85, 0xB0, 0x05, 0x1C, 0xA8, 0x88, 0x00, 0x90, 0x28, 0x89, 0x01, 0x90, 0xE9, 0x68, 0x02, 0x91, 0x28, 0x7C, 0x03, 0x90, 0x2A, 0x6A, 0x00, 0x20, 0x17, 0x56, 0x68, 0x60, 0x00, 0x29, 0x4C, 0xD0, 0x00, 0x2F, 0x4A, 0xDC, 0x6E, 0x49, 0x0C, 0x1C, 0x08, 0x26, 0x04, 0x90, 0x21, 0x88, 0xFF, 0xFF, 0x94, 0x67, 0x08, 0x00, 0x96, 0x00, 0x00, 0x00, 0x00, 0x98, 0x81, 0x42, 0x0C, 0xD1, 0x62, 0x88, 0x01, 0x98, 0x82, 0x42, 0x08, 0xD1, 0x46, 0x20, 0x02, 0x5D, 0x03, 0x98, 0x82, 0x42, 0x03, 0xD1, 0x0E, 0x20, 0x00, 0x57, 0xB8, 0x42, 0x0A, 0xD0, 0x46, 0x20, 0x00, 0x5D, 0x11, 0x28, 0x22, 0xD1, 0x00, 0x98, 0x81, 0x42, 0x1F, 0xD1, 0x0E, 0x20, 0x00, 0x57 ,
0xB8, 0x42, 0x1B, 0xD1, 0x04, 0x20, 0x02, 0x1C, 0x02, 0x98, 0x5D, 0x49, 0x01, 0x23, 0x9E, 0x46, 0x5D, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x00, 0x28, 0x17, 0xD0, 0x20, 0x1D, 0x02, 0x99, 0x04, 0x22, 0x01, 0x23, 0x9E, 0x46, 0x58, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x00, 0x28, 0x0D, 0xD0, 0x46, 0x20, 0x00, 0x5D, 0x11, 0x28, 0x09, 0xD0, 0xA0, 0x6D, 0x00, 0x28, 0x06, 0xD0, 0xAC, 0x34, 0x04, 0x98, 0x01, 0x30, 0x04, 0x90, 0x01, 0x3E, 0xC1, 0xD1, 0x07, 0xE0, 0x04, 0x98, 0x00, 0x06, 0x00, 0x0E, 0xAC, 0x21, 0x41, 0x43, 0x4A, 0x48, 0x40, 0x18, 0x68, 0x60, 0x4B, 0x48, 0xAD, 0x30, 0x05, 0xB0, 0xF0, 0xBD, 0x00, 0xB5, 0xFF, 0xFF, 0x2A, 0x68, 0x08, 0x00, 0x96, 0x00, 0x00, 0x00, 0xC2, 0x68, 0x90, 0x69, 0x02, 0x21, 0x01, 0x23, 0x9E, 0x46, 0x47, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x47, 0x48, 0x61, 0x30, 0x00, 0xBD, 0x01, 0x79, 0x0B, 0x29, 0x03, 0xD0, 0x89, 0x00, 0x44, 0x4A, 0x51, 0x5A, 0x01, 0xE0, 0x01, 0x21, 0x49, 0x02 ,
0x41, 0x60, 0x42, 0x48, 0x0D, 0x30, 0xF7, 0x46, 0x01, 0x1C, 0x41, 0x48, 0x02, 0x68, 0x41, 0x48, 0x01, 0x2A, 0x01, 0xD1, 0x25, 0x30, 0xF7, 0x46, 0x40, 0x4A, 0x12, 0x68, 0x4A, 0x60, 0x19, 0x30, 0xF7, 0x46, 0x00, 0x21, 0x41, 0x60, 0x3E, 0x48, 0x3D, 0x49, 0x08, 0x18, 0xF7, 0x46, 0x00, 0x21, 0x41, 0x60, 0x3C, 0x49, 0x3D, 0x48, 0xFF, 0x38, 0x40, 0x18, 0xF7, 0x46, 0xF0, 0xB5, 0x44, 0x69, 0x40, 0x68, 0x45, 0x1E, 0x3A, 0x48, 0x01, 0x7C, 0x3F, 0x4F, 0x01, 0x29, 0x41, 0xD0, 0x00, 0x7C, 0x03, 0x28, 0x3E, 0xD0, 0x37, 0x48, 0x00, 0x78, 0xFF, 0x28, 0x16, 0xD0, 0x00, 0x28, 0x14, 0xD0, 0x20, 0x1D, 0x35, 0x4A, 0x00, 0x21, 0x51, 0x56, 0x24, 0x22, 0x4A, 0x43, 0x32, 0x49, 0xFF, 0xFF, 0xC0, 0x68, 0x08, 0x00, 0x96, 0x00, 0x00, 0x00, 0x89, 0x18, 0x01, 0x26, 0xB6, 0x46, 0x32, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x00, 0x28, 0x05, 0xD1, 0x2C, 0x48, 0xB6, 0x46, 0x2F, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x05, 0xE0, 0x20, 0x1D ,
0x01, 0x21, 0x8E, 0x46, 0x2C, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x00, 0x2D, 0x01, 0xD1, 0x00, 0x28, 0x1E, 0xD1, 0x60, 0x35, 0x01, 0xD0, 0x00, 0x28, 0x0E, 0xD1, 0xA8, 0x20, 0x01, 0x5D, 0x00, 0x29, 0x08, 0xD0, 0x49, 0x1E, 0x01, 0x55, 0x00, 0x5D, 0x00, 0x28, 0x08, 0xD1, 0x38, 0x1C, 0xFF, 0x30, 0x08, 0x30, 0xF0, 0xBD, 0x03, 0x21, 0x01, 0xE0, 0xA8, 0x20, 0x00, 0x21, 0x01, 0x55, 0x38, 0x1C, 0xFF, 0x30, 0x16, 0x30, 0xF0, 0xBD, 0x00, 0x2D, 0x02, 0xD0, 0x38, 0x1C, 0x9F, 0x30, 0xF0, 0xBD, 0x38, 0x1C, 0xA3, 0x30, 0xF0, 0xBD, 0x40, 0x1E, 0x80, 0x00, 0x19, 0x4B, 0x19, 0x50, 0x17, 0x49, 0x0A, 0x50, 0xF7, 0x46, 0xC0, 0x46, 0x14, 0x0D, 0x1B, 0x00, 0x54, 0x19, 0x1B, 0x00, 0x8F, 0xC6, 0x03, 0x00, 0x91, 0x1A, 0x01, 0x00, 0x4B, 0xAD, 0xFF, 0xFF, 0x56, 0x69, 0x08, 0x00, 0x80, 0x00, 0x00, 0x00, 0x03, 0x00, 0x61, 0x4E, 0x01, 0x00, 0x06, 0x32, 0x08, 0x00, 0x1F, 0x0B, 0x02, 0x00, 0x54, 0x3F, 0x08, 0x00, 0x45, 0xC1 ,
0x00, 0x00, 0x84, 0x3C, 0x08, 0x00, 0x1B, 0x02, 0x00, 0x00, 0xED, 0x17, 0x00, 0x00, 0xF3, 0xC1, 0x01, 0x00, 0xC6, 0x05, 0x00, 0x00, 0x34, 0x19, 0x1B, 0x00, 0x18, 0x17, 0x1B, 0x00, 0x0C, 0x19, 0x1B, 0x00, 0xA6, 0x44, 0x08, 0x00, 0xCB, 0x67, 0x03, 0x00, 0x0D, 0x47, 0x02, 0x00, 0x39, 0x42, 0x03, 0x00, 0x04, 0xF3, 0x1A, 0x00, 0x80, 0x7B, 0x08, 0x00, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x19, 0xFD, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x40, 0xFE, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0xAE, 0xFC, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0xE2, 0xFC, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x03, 0xFE, 0xFF, 0xBD, 0x78, 0x7B, 0x08, 0x00, 0x88, 0x00, 0x00, 0x00, 0x00, 0xB5, 0xF8, 0xF0, 0x43, 0xFA, 0x00, 0xBD, 0x29, 0x68, 0x08, 0x00, 0x5B, 0x68, 0x08, 0x00, 0x65, 0x67, 0x08, 0x00, 0x41, 0x68, 0x08, 0x00, 0xE9, 0x62, 0x08, 0x00, 0x75, 0x68, 0x08, 0x00, 0x81, 0x68 ,
0x08, 0x00, 0x8F, 0x68, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0xF3, 0x1A, 0x00, 0x80, 0x00, 0x00, 0x00, 0xB2, 0x4E, 0x01, 0x00, 0x5A, 0xC1, 0x00, 0x00, 0x96, 0x1A, 0x01, 0x00, 0x22, 0x0B, 0x02, 0x00, 0x60, 0xD0, 0x01, 0x00, 0x06, 0x1A, 0x00, 0x00, 0xB8, 0xC6, 0x01, 0x00, 0xD8, 0x42, 0x03, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF ,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x18, 0x00, 0x96, 0x00, 0x00, 0x00, 0x00, 0x06, 0x01, 0x07, 0xF0, 0xB5, 0x1C, 0x4D, 0x03, 0x20, 0x2A, 0x78, 0x6B, 0x78, 0x1C, 0x4E, 0x31, 0x1C, 0x01, 0x39, 0x01, 0x24, 0xA6, 0x46, 0x18, 0x4F, 0xFE, 0x44, 0x38, 0x47, 0xAA, 0x78, 0xEB, 0x78, 0x03, 0x20, 0x31, 0x1C, 0xA6, 0x46, 0x14, 0x4F, 0xFE, 0x44, 0x38, 0x47, 0x03, 0x20, 0x31, 0x1C, 0x01, 0x31, 0xA6, 0x46 ,
0x13, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x12, 0x48, 0x29, 0x78, 0x01, 0x70, 0x69, 0x78, 0x41, 0x70, 0xE9, 0x78, 0xC1, 0x70, 0xA9, 0x78, 0x81, 0x70, 0xA6, 0x46, 0x0E, 0x48, 0xFE, 0x44, 0x00, 0x47, 0x0E, 0x49, 0x00, 0x23, 0x18, 0x1C, 0x0A, 0x68, 0x00, 0x2A, 0x02, 0xD0, 0x22, 0x1C, 0x82, 0x40, 0x13, 0x43, 0x04, 0x31, 0x01, 0x30, 0x20, 0x28, 0xF5, 0xD3, 0x08, 0x48, 0x03, 0x60, 0xF0, 0xBD, 0xC0, 0x46, 0x00, 0x00, 0x18, 0x00, 0xF3, 0x7E, 0x03, 0x00, 0xC6, 0x05, 0x00, 0x00, 0xDD, 0x7E, 0x03, 0x00, 0xE4, 0x62, 0x08, 0x00, 0x99, 0x00, 0x18, 0x00, 0x80, 0x7B, 0x08, 0x00, 0x84, 0xF3, 0xFF, 0xFF, 0x96, 0x00, 0x18, 0x00, 0x32, 0x00, 0x00, 0x00, 0x1A, 0x00, 0x05, 0x48, 0x06, 0x49, 0x81, 0x67, 0x06, 0x49, 0x81, 0x64, 0x06, 0x49, 0x41, 0x64, 0x06, 0x49, 0xC1, 0x64, 0x06, 0x49, 0x01, 0x65, 0xF7, 0x46, 0x1C, 0x21, 0x08, 0x00, 0xB9, 0x69, 0x08, 0x00, 0xC3, 0x69, 0x08, 0x00, 0xCD, 0x69, 0x08, 0x00, 0xAF, 0x69 ,
0x08, 0x00, 0xA5, 0x69, 0x08, 0x00, 0xFF, 0xFF };

unsigned short drv_length = 2408;
unsigned short fw_length = 60;

unsigned char ucStatus_Dr,ucStatus_FW;


void Patch_20120823(void)
{

	//writing driver patch to EEPRROM - PROTABLE CODE
	// Note that the array itself is changing between the different Service Packs    
	ucStatus_Dr = nvmem_write_patch(NVMEM_WLAN_DRIVER_SP_FILEID, drv_length,wlan_drv_patch);        
	//writing FW patch to EAPRROM  - PROTABLE CODE
	//Note that the array itself is changing between the different Service Packs   
	ucStatus_FW = nvmem_write_patch(NVMEM_WLAN_FW_SP_FILEID, fw_length,fw_patch);
}

  
